package com.aaa.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * Table: pms_product_full_reduction
 */
@Data
public class PmsProductFullReduction implements Serializable {
    /**
     * Table:     pms_product_full_reduction
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * Table:     pms_product_full_reduction
     * Column:    shop_id
     * Nullable:  true
     */
    private Long shopId;

    /**
     * 这里设计的有意思，有了商品id还要店铺id，说明商品与店铺不是多对1的关系？
     *
     * Table:     pms_product_full_reduction
     * Column:    product_id
     * Nullable:  true
     */
    private Long productId;

    /**
     * 达到满减判定的金额
     *
     * Table:     pms_product_full_reduction
     * Column:    full_price
     * Nullable:  true
     */
    private BigDecimal fullPrice;

    /**
     * 达到该满减金额所减去的金额
     *
     * Table:     pms_product_full_reduction
     * Column:    reduce_price
     * Nullable:  true
     */
    private BigDecimal reducePrice;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table pms_product_full_reduction
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}